implementing Bigram feature