writing output bugs with ofstream

	modified:   main.cpp
	modified:   output.cpp
	modified:   output.h
	modified:   totalPopulation.cpp