Start dynamic programming