First phase of Louvain implemented (prototype)