def cv_to_frequencies(l):
    """ Assumes l is a list with strings
        Takes each string and checks if it exists as a key in the dict
        If it does - it increases the value of that key by 1
        If it doesn't - it creates the key with value 1
        
    Parameters
    ----------
    l : list
        list with strings

    Returns
    -------
    frequenciesDict : dict
        contains distinct list entries as keys and their number of occurences as values

    """
    frequenciesDict = {}
    for word in l:
        if word in frequenciesDict:
            frequenciesDict[word] = frequenciesDict[word] + 1
        else:
            frequenciesDict[word] = 1
    return frequenciesDict