Corrected the removal method of the BinarySearchTree.