Knapsack solution developed for a college project