Updating DFS to run using game loop Update for visualization.