Genetic Algorithm Created in Swift