add SCC via DFS algorithm