DougM homework for Week 7

Sorry if this pull request includes previous weeks.