Cleaned up code of exercise 3 in the sales_tax file