Update DfsSearchAlgo.java