/**
  * Tests the methods created above.
  *
  * @param args
  */
 public static void main(String[] args) {
   SpellChecker newChecker = new SpellChecker();
   newChecker.readDictionaryFile();
   newChecker.spellCheck();
   System.out.println("Number of misspelled words: " + newChecker.notFoundWords);
   System.out.println("Number of correct spelled words: " + newChecker.foundWords);
   System.out.println(
       "Number of misspelled words comparisons: " + newChecker.wordsNotFoundComparison);
   System.out.println(
       "Number of correct spelled words comparisons: " + newChecker.wordsFoundComparison);
   System.out.println(
       "The average number of comparisons for words "
           + "found: "
           + (double) newChecker.wordsFoundComparison / newChecker.foundWords);
   System.out.println(
       "The average number of comparisons for words not"
           + " found: "
           + (double) newChecker.wordsNotFoundComparison / newChecker.notFoundWords);
 }