markov Markov program from Chapter 3 of Kernighan & Pike's "The Practice of Programming" book https://www.cs.princeton.edu/~bwk/tpop.webpage/code.html This version is programmed in Rust and is pretty fast.