Updating Louvain to use Text objects instead of LongWritable