Modified Version of TSP