Python Knapsack Problem Example And Solution