added new checksum-check to the example main.cpp files