Use adjacency list instead of edge list and then converting to an adjacency list.
Also return adjacency list.
Simpler adjacency list gathering (and with less risk time complexity-wise).
Eliminated arbitrary swap of variable order in Math.min
Not using assert anymore.
Keep white space consistent.
Merge pull request #1 from jaspervdg/master

Adjacency list rather than edge list, and construction of dag on SCCs.