Implemented exercises on p. 39