CLI train simulator. Each train runs on it's own thread. Each Train has a start and end station, and finds path with Depth-first search algorithm:
Create mathematical relations based on how far stations are from each other, each relation means they are connected directly