A generic markov chain implementation in Rust.