updated chapter 2 exercises