<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def varScope(self, name):
 """ Create sub variable scope with defined name """

        ch = VcdVarWritingScope(name, self._writer, parent=self)
        assert name not in self.children, name
        self.children[name] = ch
        return ch