update BST class and TreeNode class