Final class project; solving the classic knapsack problem