knapsack problem visualization