Finished the chapter 7 exercice.