public static String ShiftRow(String state)
	    {        
	            String temp[][]=new String[4][4];
	            //fill state
	                String st[][]=new String[4][4];
	                int index=0;
			for(int i=0;i<4;++i){
				for(int j=0;j<4;++j){
					st[j][i]=""+state.charAt(index++)+state.charAt(index++);
					//System.out.print(st[j][i]+" ");
				}
				//System.out.println();
	              }
	                String tempState[][]=new String[4][4];
	                tempState[0]=st[0];
	                tempState[1]=sh1(st[1]);
	                tempState[2]=sh1(sh1(st[2]));
	                tempState[3]=sh1(sh1(sh1(st[3])));
	              String result="";
	              for(int i=0;i<4;++i){
				for(int j=0;j<4;++j){
					//System.out.print(st[j][i]+" ");
	                                result+=tempState[j][i];
				}
	              }
	              //System.out.println("After shiftrow:"+result);
	              return result;
	    }