A demo perceptron that I wrote