@Override
  public void initialize() {

    try {
      out = new File("src/main/resources/data/hw1-huatang.out");// Path to create my output file.
      bw = new BufferedWriter(new FileWriter(out));
    } catch (Exception e) {
      e.printStackTrace();
    }

    testfile = new File("src/main/resources/data/sample.out");// Sample output file. Used for
                                                              // comparison.
    Scanner dict = null;
    try {
      dict = new Scanner(testfile);
    } catch (FileNotFoundException e) {
      e.printStackTrace();
    }
    while (dict.hasNext()) {
      hash.put(dict.nextLine(), 0);
      numbers++;
    }
  }