private int MinDistanceIndex(int[] array, TwoWayLinkedList chosenCities)
        {
            int minValue = int.MaxValue;
            int minIndex = 0;

            for (int i = 0; i < array.Length; i++)
            {
                if (array[i] < minValue && array[i] != 0 && chosenCities.Contains(CitiesInfo.Cities[i]))
                {
                    minIndex = i;
                    minValue = array[i];
                }
            }
            return(minIndex);
        }