private char[][] build_sub_block(String setting, char[] key_alphabet, int[] key_block)
	{
		int set_len=setting.length();
		char[][] result=new char[set_len+1][26];
		char[] pt=read_pt(key_alphabet,key_block);
		for(int i=0;i<26;i++)
		{
			result[0][i]=pt[i];
		}
		//create ct: set_len*26
		String setting_u=setting.toUpperCase();
		for(int i=0;i<set_len;i++)
		{
			int pos=Generic_Func.find_char(pt,setting_u.charAt(i));
			int filled=0;
			int pt_col=0;
			while(filled<26)
			{
				result[i+1][pt_col]=pt[pos];
				if(pos==25)
				{
					pos=0;
				}
				else
				{
					pos++;
				}
				pt_col++;
				filled++;
			}
		}
		return result;
		
		
		
	}