Basic Swap Sequence algorithm in ruby; used for PSO applications to TSP.