Begin work on dynamic programming