coded modularity_louvain_dir, need test suite