Add exercice 2 to tp 7.