Solution file for problem set 2.