initial commit for the DFS algorithm implementation