committing chapter 2 exercises