add solutions to chapter 1 exercises