code: public List<Stepdoc> stepdocs(List<CandidateSteps> candidateSteps) {
          List<Stepdoc> stepdocs = new LinkedList<>();
          for (StepCandidate candidate : collectCandidates(candidateSteps)) {
              stepdocs.add(new Stepdoc(candidate));
          }
          return stepdocs;
      }
docs: Returns the stepdocs for the candidates collected from the given
  {@link CandidateSteps}.
  
  @param candidateSteps
  the List of CandidateSteps
  @return The List of Stepdocs, one for each {@link StepCandidate}.