Adding Perceptron Algorithm