How trains avoid colliding with each other | Dark Hacker News