Updated Question 1 (DFS)

DFS same structure as BFS to create more readability