Finished sccs O(n+m) solution, about to debug...