Made minor changes to changeCheck and getClasses

-changed getClasses to skip comments
-changed where changeCheck prints results
-Guarded against writing over previous output files