judge same tree or symmetric tree