Added method for finding line with given stations