DFS traverse of a directed graph

two methods:
   DFS()
   isCyclic()