public static void printBoard() 
	  {
		  //prints out the board
	    System.out.println("\n\nSolution " + (++s));
	    for (int y = 0; y < n; y++) 
	    {
	      for (int x = 0; x < n; x++) 
	      {
	        System.out.print((board[y] == x) ? "|Q" : "|_");
	      }
	      System.out.println("|");
	    }
	  }