Ruby implementation of Louvain community detection method