rename variables and move method

moved method from customer class to rental class because it uses
information from the rental class