Completing exercises for Chapter 1.