Completed tip_calculator class.