This will generate all the trigrams possible from the given data set.