Text this: BiPSim: a flexible and generic stochastic simulator for polymerization processes