grader to solve dynamic programming problem