Applet to test and illustrate the result of a certain Markov chain