use optparse for tip calculator