add findSameTree code