cdp/ex3 clean tsp.c, fixed selfloops