Complete - Needs commenting

The implementation of what I believe to be the closest edge insertion
heuristic. Still needs commenting