Changes some code to make them work with each other

Read stations and also anything on the same line for train will find the
amount of stops on that line