Added template.tex for using LaTeX to do homework