Extra Credit

added support for dictionary and trigrams. need input validation for
trigrams and parsing for dictionary