Adding the Midterm pt. 1 code