write_simoutput function

Write attached NetLogo simulation output to file