Excercices of chapter 3 done