Binary and AVL Trees in C++