def totalup(statlist,dataindex,numbcores):
    """
    :param statlist: The collective thread statistics lists
    :param dataindex: The data from each list to add up
    0-Player one wins
    1-Player two wins
    2-Draws
    3-Total games played
    :param numbcores: The number of threads (Used for a for statement to correctly add up the data)
    :return: The total value of each threads statistics combines
    """
    returnresult = 0
    internalcount = numbcores
    for dive in range(0,numbcores):
        returnresult += statlist[dive][dataindex] #Dive is used as an index into the realtime list of lists.
    return returnresult