Simple example of a single perceptron