stores the row position of the queen just placed
push(row,&s);