Closes #2, modify code to use PipeMarkovChain integer writing
transitions