Preliminary code to create a word frequency array for problem reviews.