                 }
             }
         }
-
+        //        print("end crossover")
         return child
     }
 

    }

    func crossover(parent1: Tour, parent2: Tour) -> Tour {
        var child = Tour()

        var start = Int(arc4random_uniform(UInt32(parent1.size)))



    init(size: Int, initialize: Bool) {

        for _ in 0..<size {
            if initialize {
                var tour = Tour()
                tour.generateIndividual()
                tours.append(tour)
            } else {
                tours.append(Tour())
            }
        }
    }
