Also an attempt at exercise 3.

Fixing some DOS line endings that appeared from copying from the PDF.