code: def printSequences(x, formatString="%d"):
    
    [seqLen, numElements] = x.shape
    for i in range(seqLen):
      s = ""
      for j in range(numElements):
        s += formatString % x[i][j]
      print s
docs: Print a bunch of sequences stored in a 2D numpy array.