Added external function tf-idf to the main.
 You can use it as a script: python tfidf.py --file corpus.mm
 Or call it as a external function: tfidfCorpus("corpus.mm")