A simple Markov chain program in Python.