modified the functions sales_tax and import_duty, corrected implementation of sales_tax