Stochastic simulations of genetic switch systems