judge if a binay tree is symmetric