solutions of chapter 1 exercises