same tree problem