Basic multiply calculator in Swift