Example used to learn Swift for iOS 8