Added a .gitignore, added a new function for compiling frames of beamer
presentations and put it in a new file.