Revert "Continuing work on the adding edges algorithm, nothing solid yet."

This reverts commit 13694c12ffc4d079c1a2caa6187727b4f538bf89.