Added knapsack problem