Dynamic Programming Knapsack Problem Example