code: private void printLine(int size) {
      for (int i = 0; i < size; i++) {
        printStream.append("-");
      }
      printStream.append("\n");
    }
docs: Auxiliary method that prints a horizontal line of a given size