Write to XML

Not sure if it makes "well-formed" XML... will look into it more.
But it does write a file with a timestamp and results