Optimizing traffic lights cycle times using swarm intelligence