Finish Chapter 3 exercises