Assignment 8 DFS