Added midterm solution