Yet Another Tip Calculator using swift