Symmetric Tree in Java