Solved Same Tree problem.