Added exercise 2.17-2.19.