Replaced awkward list of if's with a switch for computing color.
Created an example for disconnected subgraph detection.
Renamed setupGraph() to runDijkstras(). Added runSubgraphDetection().