Solution to Sales Taxes exercise