Added in some code to the DDTest class to serialise mining results to
file.