A genetic algorithm for the Travelling Salseman Problem