This is the code I used for the bigrams