Implemented similarity-based weighted graph for community detection with promising results