An exercise for AVL Tree implementation