DFS by declaring Node class in cpp
Golang dfs