Knapsack problem, initial commit