Code cleanups.  Also stopped the left triangle in the first square on
the next row from having to match the last right triangle on the
previous row when generating a new puzzle.