Knapsack Branch and Bound algorithm