A tip calculator written in Swift.