MCODE clustering algorithm