Finished DFS - Cleaned up slightly