Update psxtract.cpp

Added checksum test code. No need to move this to the official repo, just for your reference