<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _generateLocations(self):
 """ Generates a pool of locations to be used for the experiments. For each index, numColumns SDR's are created, as locations for the same feature should be different for each column. """

    size = self.externalInputSize
    bits = self.numInputBits
    random.seed(self.seed)
    self.locations = []
    for _ in xrange(self.numColumns):
      self.locations.append(
        [self._generatePattern(bits, size) for _ in xrange(self.numLocations)]
      )