Agent-Based Simulation for Modeling Traffic