Avl tree implementation is working