assignment 1 - tip calculator