finished chapter on Markov Chains