Solve 2-3_unlimited-knapsack with O(3^n) algorithm...
Rewrite 2-3_unlimited-knapsack using memoization and dynamic programming.