exercises 2.17 -- 2.20 and started chapter2 notes