Finished question 1 of HW9