knapsack simulate pickup

knapsack, simulater pickup, randomly pick up item into knapsack