Flocking control of multiple mobile intelligent agents