Making subclassing of Particle class feasible (by making fields protected)

subclass possible