def addkid(self, node, before=False):
        if before:  self.children.insert(0, node)
        else:   self.children.append(node)
        return self
Add the given node as a child of this node.
dataset/ETHPy150Open timtadh/zhang-shasha/zss/simple_tree.py/Node.addkid