Chapter 3 exercices done