basic app to calculate tip amount