minor spacing issues
Change checksum function to how Dr Biaz described it