implemented class Particle. Not tested
clean up. Correctly placed {
added tests for Particle