Generator uses list of ngram

Generator no more generates a string as message but instead a list of
ngrams, methods added for evaluating a list of ngrams and for printing a
list of ngrams