Commit 2. Completely new version.

Mostly all of the graph setup is new. Killed the Edge class. Using adj.
matrix instead of list. Guaranteed connected graphs.