incremental work: first draft of simple version of generateNext for markov