minor changes in knapsack example