Bugfix coef c in sphere equation.
Bugfix in function to write the ppm file.
Refartoring.
Bugfix in scene rendering.