code for simulating, with various different assumptions, a network SIR model (and related models).