'Add a new Section with the given name'

def add_section(self, name):

    if (name in self.sections):
        raise ValueError('Duplicate    section    name')
    node = Section(name)
    node.parent = self
    self.sections[name] = node
    self.children.append(node)
