Implement `knapsack(weights, values, capacity)` returning the maximum total value of items that fit, where each item can be taken at most once.
Run your code to see results.