Bigram simulator with all the mess around