Filling in some review for midterm problems