Tip calculator in objective C for iPhone