dfs implementation, feel free to test to make sure its correct
Merge branch 'master' of github.com:alexnedelcu/cs260_pa3