c program to print patterns of numbers and stars in a pyramid shape