Starting higher order functions example