a simple perceptron using Rosenblatt training algorithm.