added midterm solutions as lecture 14