add solution for complete knapsack