Made changes to p1a to now find every possible solution. Copying knapsack doesn't work