MC Assignment Markov Chains With Ruby