Tip calculator using optparse