Symmetric Tree Leetcode Python Solution