determine if two binary trees are identical