markovgen init