refactoring Customer::statement, move functions calculateCharge and calculateRental in Rental class