draft of bst delete function