A simple neural network (multilayer sigmoid perceptron) in Java