completed 8.4 problem set