BellmanFord and Traveling Salesman Problem Solution