Added the latex figure container snippet

Also renamed the algorithm snippet to organize the repository a little
nicer.