Design of Artificial Swarms Using Network Motifs: A Simulation Study