Added depthfirst search and tests.