CommunityDetection in C++