Graph implementation with DFS - Lafore