Work on AVL trees