bigram queries

modified SDM query generator to generate only bigram queries