Pergunta de entrevista da empresa American Express

find first n prime numbers and another question is to write a program that prints a pyramid