An Agent-Based Model to Simulate the Formation and Dynamics of Self-Assembled Structures in Army Ants