Added code for Particle Swarm Optimization