A fast Monte Carlo event generator for particle physics