Updated Question 8: PrintPaths.c