Perceptron algorithm done