A Generative Graph Method to Solve the Travelling Salesman Problem