Lab 7 handout and code.