<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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)