Design of nucleic acid sequences based on swarm intelligence