final version
Merge https://github.com/tormeh/clusteredNetworks