Added the functionality for the tip calculator for the restaurant.