traverse and deleting node in tree completed