https://kivy.pythonprogramminghelp.com/how-to-quickly-markov-chain-process/