found some errors in the knapsack. add gitignore