Implement most of the skeleton of the remove function for AVL trees.