Homework for Nov. 26., with BFS and DFS