Python Implementation of a genetic algorithm to solve the travelling salesman problem