Solves the traveling salesman problem using simulated annealing