Added .py solutions to markov lab and made some formatting changes in the
notebook version.