private String cipher_sub(HashMap<Character,String> map1, HashMap<String,Character> map2,String sub_s)
   {
	   char[][] code=new char[3][sub_s.length()];
	   for(int i=0;i<sub_s.length();i++)
	   {
		   Character c=Character.valueOf(sub_s.charAt(i));
		   String num_str=map1.get(c);
		   for(int j=0;j<3;j++)
		   {
			   code[j][i]=num_str.charAt(j);
		   }
		   
	   }
	   StringBuilder sb=new StringBuilder();
	   for(int j=0;j<3;j++)
	   {
	     for(int i=0;i<sub_s.length();i++)
	     {
		    sb.append(code[j][i]);
	     }
	   }
	   String total_str=sb.toString();
	   StringBuilder sb2=new StringBuilder();
	   int cur_pos=0;
	   while(cur_pos<total_str.length())
	   {
		   String cur_sub=total_str.substring(cur_pos,cur_pos+3);
		   sb2.append(map2.get(cur_sub));
		   cur_pos+=3;
	   }
	   return sb2.toString();
	 //  int row=0;
	  // int col=0;
	  /* StringBuilder sb=new StringBuilder();
	   while(true)
	   {
		  sb.append(code[row][col]);
		  sb.
	   }*/
   }