finished feature to search train lines coming to one stop and trains going to one stop