https://towardsdatascience.com/community-detection-in-r-using-communities-of-friends-characters-2161e845c198