A calculator in swift