Wrote a function to test if 2 binary trees are isomorphic.