Python Gillespie Algorithm: Chemical Reaction Example