test modified
Implement deletion operation for BST