def find_root(prog_info):
    """
    Determine the base of the tower (it will be the only program
    without a parent)
    """

    return [prog for prog in prog_info.values() if prog.parent is None][0]