Exercice 2 completed