First complete version of advanced tip calculator.