added debug mode to Makefile to build with -g
added blockdiff and *.core files to gitignore
handle small files.

files that are smaller than the blocksize return 0 on integer division.