A reactive system for pedestrian mobility simulation