Added indexer and wordCount functions.  Simpler tokenization.