Some exercises from chapter 6.