knapsack problem solution with GA