Solve the exercises of chapter 3