This is a simple, cohort based simulation of the spreading of an epidemic in a given population.
This is not an accurate or realistic model, please don't overinterpret this or use it as advice. It is simply meant to help you understand certain aspects of the spreading of a disase qualitatively, it cannot and should not be used to draw quantitative conclusions.