added lecture 14 material and the midterm solutions