Calculate Bigram Probability Python