Using stigmergy as a computational memory in the design of recurrent neural networks