Source: https://math.unice.fr/~diener/MAB06/Markov1.pdf