My code, mostly examples for next year's (and some of this year's) freshmen.