Completed exercises 18 and 19.