deleting the node from tree completed