using graph lib from chord to compute scc. including a test case