Added class SphereAlgorithm

Uses the hypotheses that particles travel with the speed of light.
Fixed typos