Continuous time, discrete state stochastic SIR model using the stochastic simulation algorithm