Spreading of an infectious disease between different locations