def findIterative(pair, iteratives):
    """
    Function to find the two 'iteratives' that corresponds to the groups in 'pair'
    """
    for iterative in iteratives:
        if iterative.group == pair[0]:
            iterative0 = iterative
        elif iterative.group == pair[1]:
            iterative1 = iterative
    return iterative0, iterative1
