def getNames(tails):
    """
    Returns a list of the names of all genes found in a tail file
    :param tails: nested list. Produced by tail parser from a .tails file
    :return: list of gene names
    """
    names = []
    for tail in tails:
        names.append (tail[2])
    return list(set(names))