https://django.pythonprogramminghelp.com/how-to-a-markov-chains-analysis-survival-guide/