Simple AVL tree in Java