line-simplification: More work on MinHeap implementation.

Start conversion to 0-index. Moving away from Intro. to Algorithms’
approach towards mbostock’s implementation.