def randomTraversal(sensations, numTraversals):
    """
    Given a list of sensations, return the SDRs that would be obtained by
    numTraversals random traversals of that set of sensations.

    Each sensation is a dict mapping cortical column index to a pair of SDR's
    (one location and one feature).
    """
    newSensations = []
    for _ in range(numTraversals):
      s = copy.deepcopy(sensations)
      random.shuffle(s)
      newSensations += s
    return newSensations
Given a list of sensations, return the SDRs that would be obtained by
    numTraversals random traversals of that set of sensations.

    Each sensation is a dict mapping cortical column index to a pair of SDR's
    (one location and one feature).