Genetic algorithm for solving the Traveling Salesman problem