general louvain, compiles and runs..
implementing generic louvain; nearly there, compiles and runs...