Definition and example of closures