A simple ANN implementation.