Added DynamicProgramming solution.
Updated infrastructure to support different solutions.
Updated tests.