Finalize BinarySearchTree.java class