def build(self, n, vec):
    """
    Recursive function to help print motor coding scheme.
    """
    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)