added additional dynamic program examples, basically everything up to chapter 8.w