Dynamic programming homework added