Finalized the initial ARFF Generation algorithm. May be shifted to a class based implementation later.