Completed examples for in-class exercises.