initial commit of checksum
add checksum to Makefile
fix compilation errors