In Swift, functions are a self contain block of code which targets a
specific task. Functions are first-class types, which means functions can
be defined outside of a class in Swift. To follow this tutorial you will
need Xcode 6 and start a playground file. Xcode 6 can be downloaded from
Apple's developer portal.