Added subfigure package.
Added support for beamer presentations