Markov chains in CoffeeScript.