Exact Stochastic Simulation of Coupled Chemical Reactions