prog 3 - dfs finished?