Bareksa Interview Question

Create a function to print a pyramid pattern