assignment2, problem 3
commit for assignment 3 (MapReduce) - check in before first run; inverted index for documents
corrected solution after first run. fixed incorrect assumptions, now works as expected