Updated pp.pl

-Added "-d" for ability to read whole directories
-Added first bit of functionality for "-d" flag