modified template tex homework file, modified generic makefile to handle pdfLaTeX compilation as well