completed homework 1 problem 1