material for Week 4 - Higher order functions