solution to the fourth homework from spring 2013 2302750