Added Exercise 1.12 and minor fixes.