Simple model of epidemic dynamics with memory effects.