updated hw 3 and midterm