travelling salesman and actually fixing numbering