Implementation of several algorithms for solving 1/0 knapsack problem