BevSpot interview question

Design an algorithm for modeling an epidemic on a grid.