Update dynamic-programming.md