Application of a stochastic name-passing calculus to representation and simulation of molecular processes