Created arfftools.py, to be able to play with ARFF files from command line.
cleaning up code a bit.