problem 4 work complete, hw4