code: def build(self, n, vec):
      
      for i in range(-self.maxDisplacement, self.maxDisplacement+1):
        next = vec + [i]
        if n == 1:
          print '{:>5}\t'.format(next), " = ",
          printSequence(self.encodeMotorInput(next))
        else:
          self.build(n-1, next)
docs: Recursive function to help print motor coding scheme.