Attempting to create function that creates a dict with frequencies as keys and a list of words associated with that frequencey.