Add Knapsack DP solution