Binary search tree implemented in python.