Epidemic Simulation based on Intelligent Agents