Parallel Particle Swarm Optimization (Parallel PSO) C language code