A simple python program for solving 0-1 knapsack problems.