Update README with dynamic programming