Update sameTree.cpp