added script to convert multi-page PNM to single PDF