public static void main(String[] args) {
   In in = new In("dictionary-yawl.txt");
   String[] dictionary = in.readAllStrings();
   BoggleSolver solver = new BoggleSolver(dictionary);
   BoggleBoard board = new BoggleBoard("board-points100.txt");
   int score = 0;
   for (String word : solver.getAllValidWords(board)) {
     StdOut.println(word);
     score += solver.scoreOf(word);
   }
   StdOut.println("Score = " + score);
 }