a simple binary search tree in python