Implementation of a simple (and slow) algorithm for TSP. Readline interface.