Adding Makefile and minor changes in printf