Add remove function for AVL tree