Pull together parts of dynamic programming.
Add lessons from dynamic programming.