Removed some redundant whitespace.
Changed my mind about nodes being connected in both directions. For now only connect in one direction.
Reworked links to be held on the graph rather than the nodes. Also added some very primitive cycle detection code.