module to create Markov chains and output based on them
