BinarySearchTree created in java for educational purposes