update outputter, analyser

output goes directly to a file. File contains a list of training files,
topics, a list of topics per document, and results for sample files that
were tested in order to establish the closeness to documents in the
corpus.