implemented taxcalculator class