Binary Search Tree Implementation in Python