0-1 Knapsack problem in Exercise 16.2-2, page 427.