restructured the code to take contest data and turn it into training data recognized by weka.