Knapsack.c ACCEPTED