Output changes

Changed the output to use outputWriter.newLine() to make the newlines work on Unix and Windows and added a tally of checked elements to the top of the output file.