function [] = drawTriangle(stars, spaces)
  if (stars > 0)
      indentSpaces(spaces);
      lineOfStars(stars * 2 - 1);
      drawTriangle(stars - 1, spaces + 1);
  end