Passing the closure as a higher order function
Update to README