exercises up to chapter 5