Optional exercises from end of chapter 3