Solution to the trains problem. Help the railroad provide its customers with information about the routes.