Add solution to tip calculator exercise