working on kosaraju algo