add ARFF output, please refer to Assignment7_new.py