unit 2- exercises and examples for the course.