Using stigmergy to incorporate the time into artificial neural networks