Same Tree, solved with recursion