added pagenum for papers. added makefile.