Implemented AVL tree delete method.