add solution to problem 4, part b