travelling salesman problem implemented by python