Practice problems for midterm