After the outer loop finishes, we can finish up by reporting the averages
from the tallies of s and e.
fprintf(stdout,"# The average magnetization is %.5lf\n",
ssum/nSamp);
fprintf(stdout,"# The average energy per spin is %.5lf\n",
esum/nSamp);
fprintf(stdout,"# Program ends.\n");
}