Started chap3 exercises.