This is an implentation of a Perceptron (http://en.wikipedia.org/wiki/Perceptron).