Chapter 16 exercises done.

Yeah, I think I probably cheated.