added part of midterm 2 material along with some corrections to earlier material.