makes a program to map a train system with train lines and stations