https://scipy.pythonprogramminghelp.com/how-to-a-markov-chain-process-survival-guide/