AVL tree in Java