Added explanatory text for the differences between greedy algorithms and dynamic programming.