def singleFilter(labels, values, criteria):
    """
    singleFilter: filters a list based on the contents of another list

    Paramters:
     * labels: a list containing the objects you are searching for
     * values: a list containing the values you want to return at
               the index the label you are searching for is located
     * criteria: an object identical to the type stored in list that will
                 be compared to objects inside labels

    Description:
    The function iterates through labels, looking for matches to
    criteria, When a match is found, the item located at the same
    index in values is added to a new list, which is then returned
    after the entire list has been iterated through.
    """
    data = []
    for i in range(len(labels)):
        if criteria == labels[i]:
            data.append(values[i])
    return data