Generalization in the programed teaching of a perceptron.