chapter 8 done

knapsack problem