given a binary tree check if it is symmetric