Algorithm for Traveling Salesman problem implemented.