an nqueen solver algoritme.