Initial refactoring of Markov model
Made output a bit prettier
Using pipe operator.
Merge pull request #1 from ajayers/aja_refactor

Andy fixed everything!