Node deletion in tree