A Python program that solves a traveling salesman problem