Added higher order function example