start part b of problem 3 comp hw