Just a simple tip calculator written in Swift