Create a working calculator using the Swift programming language.
This version was written for Swift v1, so changes may need to be made for Swift 2.x