use smart pointer in main.cpp
fixed most methods in mpr.h related classes to have const methods
put debug output into its own files debug.h/cpp
changed *fstream to *stream -> program can now read and write to std:cin/cout
added virtual deconstructor to interface MPRWriter