Feature/is simple

Fix bug in initialization of DFS data for detecting cycles