Adding markov.py and Chapter 14 exercise