Particle class

Some more code added to the Particle class.