Started common code for Exercises 2.81-86