updated notes for dynamic programming section