code: def connect(self, *names):
          
          fromName, toName, rest = names[0], names[1], names[2:]
          self.connectAt(fromName, toName)
          if len(rest) != 0:
              self.connect(toName, *rest)
docs: Connects a list of names, one to the next.