Use >> instead of cin.get()
Simple fixed length checksum