private void build_map(HashMap<Character,String> m1,HashMap<String,Character> m2)
   {
	   int i=1;
	   int j=1;
	   int k=1;
	   boolean[] filled=new boolean[26];
	   for(int m=0;m<keyword.length();m++)
	   {
		   char cur_c=keyword.charAt(m);
		   int char_pos=cur_c-'A';
		   if(!filled[char_pos])
		   {
			   String tri=generate_triple_str(i,j,k);
			   filled[char_pos]=true;
			   m1.put(Character.valueOf(cur_c),tri);
			   m2.put(tri,Character.valueOf(cur_c));
		   }
		   else
		   {
			   continue;
		   }
		   if(k==3)
		   {
			   if(j==3)
			   {
				   i++;
				   j=1;
				   k=1;
			   }
			   else
			   {
				   j++;
				   k=1;
			   }
		   }
		   else
		   {
			   k++;
		   }
	   }
	   for(int m=0;m<26;m++)
	   {
		   char cur_c=(char)('A'+m);
		  // int char_pos='A'+m;
		   if(!filled[m])
		   {
			   String tri=generate_triple_str(i,j,k);
			   filled[m]=true;
			   m1.put(Character.valueOf(cur_c),tri);
			   m2.put(tri,Character.valueOf(cur_c));
		   }
		   else
		   {
			   continue;
		   }
		   if(k==3)
		   {
			   if(j==3)
			   {
				   i++;
				   j=1;
				   k=1;
			   }
			   else
			   {
				   j++;
				   k=1;
			   }
		   }
		   else
		   {
			   k++;
		   }
	   }
	   String tri=generate_triple_str(i,j,k);//3,3,3
	   m1.put('#',tri);
	   m2.put(tri,'#');
	   
	   
	   
   }