Depth First Search Graph Leetcode