Implements Binary Search Tree in Python