create_term_document_matrix function

Create a term-document matrix from preprocessed text