cdp/ex3 add tsp for problem 3