Ruby Script to calculate Sales tax