adding init, knapsack files