1st Version of the Perceptron Algorithm