if the partial solution is complete, it is printed and found set to true
process(row,col,&found,&s,n);