The Markov Process as a Compositional Model: A Survey and Tutorial | Synapse