Create PGMFile.java

file class, reads and writes a PGM file