how to solve tsp with 2 opt algorithm