DP for TSP