simple bigram method finished