Up to chapter 8 excercises