Text this: Simulation of discrete stochastic systems