Completed exercise 10 of chapter 5.