pathing without reversing working
broken turnout detection complete, and end of path fixed. Added shortest path algorithm instead of BFS.