Integrated PPM file writer into the app.  Also many clean-up.
Merge branch 'master' of github.com:TimBeattieEdUni/PS-Coursework-I