insert_grams functions creates unigrams, bigrams and trigrams from a paragraph, with dictionary frequency in range (2, $ \infty $)