Create sort_w_checksum.py

returns number of swaps and the checksum thing