Implemented the Tip Calculator