working on the 2-gram model