added exercises 2.40-42