Did more Dynamic Programming.

Beginnign to get the hang of it.