Implemented discount for multiple As by introducing new Discount class.