A neural network for character recognition