dfs, bicoloring