ABM Simulation Model of a Pandemic for Optimizing Vaccination Strategy