* knapsack.py: added license