worked on delete function for bin tree.