Do exercises 1 to 3 from chapter 4