dfs implementation
refactoring
refactoring
dfs implementation passes test for a simple graph
dfs refactoring
dfs pathTo test passed for the example graph