Ruby program to calculate sales tax