deletion of node and subtree are working properly now.