Add Makefile
Add option for maximum number of blocks to write