https://mamchenkov.net/wordpress/2007/11/01/learning-about-markov-chain/
Learning about Markov chain