Got working AVL Tree Functionality