Completed exercises 16, 17 and 18.