I'm going to first talk a bit about the algorithm so it makes sense as to why visualization is such an important step in iterating and tweaking code that most efficiently implements the algorithm.
The Algorithm
In a previous post I introduce the idea for the algorithm and how a graph-based approach might work.