code: void setWordAndCandidate(final String word, final String candidate) {
      wordProcessed = word.toCharArray();
      wordLen = wordProcessed.length;
      this.candidate = candidate.toCharArray();
      candLen = this.candidate.length;
      effectEditDistance = wordLen <= editDistance ? wordLen - 1 : editDistance;
    }
docs: Sets up the word and candidate. Used only to test the edit distance in
  JUnit tests.
  
  @param word
  the first word
  @param candidate
  the second word used for edit distance calculation