A simple neural network with back-prop learning written in ANSI C