Lines are split, map spits out key val pairs, reduce builds a term frequency dict