I am trying to write a Depth-first-search function for my code but I keep getting a segmentation fault, I am not sure where the problem in the code is anymore. Could the pro