Еraveling salesman problem, a greedy algorithm