My solution to Symmetric Tree