added sameTree.java