minor edits of practice midterm solutions