s20-09 Dynamic programming 2