Ignore work files and test output
Made warning display explicit (i.e., if invoked as 'perl mathgen.pl')