Interview Question: Given a large text document as a string and an integer n representing the number of words to return, return the n most frequent words, sorted by frequency.