C++ BST HW