Implemented expandable numbers of particles

Implemented dynamic , random particle generation, and paralell
computation