Tree Isomorphism
Euler project 107