Last problem – programming problem on Midterm Exam Fall 2008: