first attempt at tip calculator

Got it, realized I wasn't returning anything on success.