Implementation of AVL Tree in C++