Monte Carlo algorithm to solve TSP