chapter 6 exercises for argument passing