Simulating Spatial Epidemics Modelled Through Agents and Networks