added Particles constructor to set seed