Standard problem of trying to maximize the values of item with a constraint. How many items can you put in a knapsack given the value and the weight of the items.

Uses python3

goal: maximize the value of items selected from the get_optimal_value

while the items selected combined weight is less than the inputted capacity