Graph simple graph implementation with some functionalities : cycle detection dfs: iterator topological sort: iterator test cases pool of vertices, edges