1. write swarm algorithm 2. .....  3. Profit!