updated the fileParser and main to work with the
new stuff in perceptron