Knapsack problem documentation