traveling salesman graph problem solved in python