def generate_grid_coordinates(feature_length):
    """
    A list is created with each element corrosponding to a coordinate of a 
    feature_length x feature_length grid. The list is then broken up into roughly 
    equal chunks so each chunk can be sent to a different core.

    Parameters
    ----------
    feature_length : int
        The length of the feature space you want to explore.
    numtasks:
        The number of cores the grid is being divided between

    Returns
    -------
    missing_feature_index : list
        Coordinate list that is brooken into chunks.
    """
    missing_feature_index = []
    for i in range(feature_length):
        for j in range(feature_length):
            missing_feature_index += [[i,j]]
            
    return missing_feature_index