Actually doing something useful, calculating the tip and final amount