sameTree.java