Updating chapter 3 exercises