def makeWheel(population):
    """Helper for the RWS in creating a proportional
    distribution among elements in a given array

    Args:
        population(list): List of int/float
    
    Returns:
        list: The generated wheel
    """
    wheel = []
    total = sum([p for p in population])
    top = 0
    
    for i in range(len(population)):
        p = population[i]
        f = p/total
        wheel.append((top, top+f, i))
        top += f
    return wheel