update the return expression in SameTree.java