knapsack example (draft)