answers for Chapter 3 on Functions