Updated to fix perlcritic warnings.

  This mostly involved removing "return undef" from the isRecognized()
 routine, and adding "use strict; use warnings"