bst implementation in python, from derek banas java tutorial