all steps of map reduce works, TODO fix tf-idf equation