Modelling the swarming behaviour of army ants