A program to test and train small feed-forward neural networks