Asample iOS app that calculates tips