code: public static void indent(int num, PrintWriter out) {
          if (num <= SIXTY_FOUR) {
              out.write(SIXTY_FOUR_SPACES, 0, num);
              return;
          } else if (num <= 128){
              out.write(SIXTY_FOUR_SPACES, 0, SIXTY_FOUR);
              out.write(SIXTY_FOUR_SPACES, 0, num - SIXTY_FOUR);
          } else {
              int times = num / SIXTY_FOUR;
              int rem = num % SIXTY_FOUR;
              for (int i = 0; i< times; i++) {
                  out.write(SIXTY_FOUR_SPACES, 0, SIXTY_FOUR);
              }
              out.write(SIXTY_FOUR_SPACES, 0, rem);
              return;
          }
      }
docs: Write a number of whitespaces to a writer
  @param num
  @param out