Learning nonlinear integral operators via Recurrent Neural Networks and its application in solving Integro-Differential Equations