Simulation of military base formations movement using the modified flocking algorithm.