changing the implementation of the perceptron. adding temp perceptron file