implemented perceptron