Add exercise 12.
Extend example in pdf.