Discretized Agent-Based Model of Infectious Disease Spread That Uses Contact Probability