Perl script to generate Closed Benchmarks for testing community detection algorithms