Assignment #2: Tip calculator