solve climb stair and roottoleafsum