AVL Tree implementation in Java