def remove(self, data):
    currentNode = self.head
    if (currentNode.data == data):
        self.head = self.head.next
        return
    while (currentNode.next is not None):
        if (currentNode.next.data == data):
            currentNode.next = currentNode.next.next
            return
        currentNode = currentNode.next
def remove(self, data):
    currentNode = self.head
    if (currentNode.data == data):
        self.head = self.head.next
        return
    while (currentNode.next is not None):
        if (currentNode.next.data == data):
            currentNode.next = currentNode.next.next
            return
        currentNode = currentNode.next