Add exercise 1.

Changed from question to exercise to follow the convention in the book.