Finally fixed chksum.cpp. Working! Finished step 1.