updated midterm cheatsheet.