Added SCC algorithm