add curRecursion2
memorized rod cutting