Do some exercises at the end of chapter 6