code: def getRankMaps(self):
          
  
          rankMaps = []
          for preference in self.preferences:
              rankMaps.append(preference.getRankMap())
          return rankMaps
docs: Returns a list of dictionaries, one for each preference, that associates the integer 
          representation of each candidate with its position in the ranking, starting from 1 and
          returns a list of the number of times each preference is given.