code: def score(self, i):
          
          if self.minimize:
              return self.data[i][0]
          else:
              return self.data[(-1 * i) - 1][0]
docs: Return the score for item x (cheap lookup), Item 0 is always the best item