Finish chapter 3 execercises