Serial code of Travelling Salesman