Cool comparison between ids and dfs in dfs_example2.cpp