Start working on knapsack code