add stochastic grammar example