first pass at concordance and tf-idf implementation