draw a pyramid with a defined number of lines.