Solved Same Tree Problem