9 queens problem with a pawn, solved using simulated annealing in java