Implement the epidemy simulator