Completed exercises 6 through 17.