def connect(parent, child):
    """
    Make an edge between a parent
    node and a child node.
    a - parent
    b - child
    """
    parent.children.append(child)
    child.parents.append(parent)
