Modularity Optimization - Graph Algorithms