Add simple higher-order function example.