Complex numbers in Swift