Modified to add new swarms randomly after 50, 100, and 150 iterations.