public static void main(String[] args) {
		// TODO Auto-generated method stub
		ArrayList<String[]> str1= new ArrayList<>();
		ArrayList<String[]> str= new ArrayList<>();
		str=solveNQueens(4);
		for(int i=0;i<str.size();i++)
		{
			for(int j=0;j<str.get(i).length;j++)
				System.out.println("Row " + j + ":"+ str.get(i)[j]);
		}
			
		//System.out.println();
	}