Completing exercises for Chapter 3

It involved less typing! :)