updated .gitignore and fixed issue in Makefile
updated Makefile for submit
change to pretty.c for C99 compatibility