knapsack.h file