Added new tokenization function.
Finished implementing Trigram.