Markov chains in Golang