Fixed problems within BST class