added newLine at end of file so it would be a valid PGM
More pgms to test functions
fixed width height confusion in Loader
rewrote Loader to avoid performance issues related to large string concatenation