Added Perceptron for digit recognition