Copy editing chapter 5

Just some small changes.  Also added links to help explain defaultdict
and lambda expressions.