<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def createRandomObjects(numObjects, locationsPerObject, featurePoolSize):
 """ Generate random objects. @param numObjects (int) The number of objects to generate @param locationsPerObject (int) The number of points on each object @param featurePoolSize (int) The number of possible features @return For example, { 0: [0, 1, 2], 1: [0, 2, 1], 2: [2, 0, 1], } is 3 objects. The first object has Feature 0 and Location 0, Feature 1 at Location 1, Feature 2 at location 2, etc. """


  allFeatures = range(featurePoolSize)
  allLocations = range(locationsPerObject)
  objects = dict((name,
                     [random.choice(allFeatures) for _ in xrange(locationsPerObject)])
                    for name in xrange(numObjects))

  return objects