Added test/dfs.java file to the project.