Somewhat working version of the arff generator