Implementing AVL Tree rotarotations