basic character recognization based on a perceptron network