A library for Swarm Intelligence algorithms