Added perceptron task