Added bigram frequency compuation