markov cluster algorithm - python