Update sameTree.java