A Python implementation of Chris Biemann's algorithm for graph clustering