Tip calculator from user input with some changes