first iteration of tip calculator tutorial