bstree delete function

Implemented the delete fundtion for bstree