Perceptron criterion algorithm experiment