Implemented Particle, FourVector and ThreeVector classes according to UML diagram