Update tsp.py reorganized chessboard algo

Reorganized chessboard algorithm to be consistent with our write-up.  Previously it did the same thing but the code logic was a little indirect.  Now it's left edge, bottom edge, right edge, and in 2 columns at a time while not right next to the left edge.