code: function pad(text, length, align = 'left') {
    let pad = ' '.repeat(length - stringWidth(text));
    if (align === 'right') {
      return pad + text;
    }
  
    return text + pad;
  }
docs: Pad a string with spaces on either side