Adding in pdf compilation

I finally got around to making PDF compilation via pdflatex using subprocess/popen.