An introduction to closures