A basic calculator written in Swift