Code examples for an introductory training course.