Chapter 2 exercises and worklog