Add working depth first search
Update node.rb for dfs
Update edge.rb
Modify graph test for dfs