A perceptron in Java.