chapter 3 exercises almost done