Added first try of perceptron.