better formatting for practice midterm solutions