Working with knapsack demo