Sample Complexity for Learning Recurrent Perceptron Mappings