add code to create bigram data in word prediction database

fixes #77