you only need one input == number of rows
the other input (number of columns == number of rows +1)
next, you use the number of rows to create a (x,y) array if (row,column)
you do this by:
get number of rows, loop from 1 to number of rows
then loop again from 1 to number of (rows+ 1) // this...