the rows for the queens are on the stack; the row for col n-1 is at the top
printf("\n COL %d ROW is %d----",
n-1,item(i-1,ps));