modify percentage discount in discount_calculator_test.py and calculate method in discount_calculator.py