A genetic algorithm implementation of the traveling salesman