Finish chapter 3 excercises