initial implementation of simulated annealing for tsp