adding Bigram scoring code