Solve the exercises of chapter 4