And here's how it works: http://www.joshmillard.com/2015/07/06/calvin-and-markov/
Bonus: Garkov! http://joshmillard.com/garkov/