public static CypherType arrayToType(double[] array)
	{
	
		CypherType type = null;
		if (array[0] == 1 && array[1] == 0 && array[2] == 0)
			type = CypherType.PLAIN_TEXT;
		else if (array[0] == 0 && array[1] == 1 && array[2] == 0)
			type = CypherType.MONO_ALPHABETIC;
		else if (array[0] == 0 && array[1] == 0 && array[2] == 1)
			type = CypherType.POLY_ALPHABETIC;
	
		return type;
		
	}