0-1 Knapsack Problem: BSP/CGM Algorithm and Implementation