First versiono of the Knapsack problem.