Updated test case and Kosaraju 2 Pass, not quite correct leader numbers yet
Confusing node number with index in list of node, updates seem to fix it
Wow, I think it finally worked, after tinkering with indices in new Generation function
Print statistics on SCCs and size of SCCs at end now, seems to work fine on test case
Removed print() commands to try to speed up; will try using dictionaries instead of lists as suggested on Coursera
Switched to using Python dictionaries, works for one pass on test data
2nd pass works with dictionaries now, passes basic test
Added check that a node exists in dictionary; sinks were not appearing in dict before because no arcs left the sink, obviously; but now I get a seg fault
More test cases, something is wrong somewhere but I have no idea