TSP Dynamic Programming