Fix indentation.
Generalize main. Add visualization.
Define the sun's material.