Assignment 4. Correct calculation of strongly-connected components.