private static void Write (RG2ROM program, ROM structure)
	{
		int X, Z; //Coordinates of torches to place.
		char bit;
		int length = program.command.length;
		Block one = new Torch('W');  //1 bits are represented by torches.
		
		for (int c = 0; c < length && c < 60; c++)  //Iterate through commands
		{
			for (byte b = 0; b < 34; b++)  //Iterate through bits.
			{
				bit = program.command[c].getBit(b);
				Z = 2*b + 1;
				X = 2*c;
				
				if (bit == '1')
				{
					structure.block[0][Z][X] = one;  //"one" corresponds to '1'
				}
				else if (bit != '0')  //0 is the only other valid bit.  Already represented by air.
				{
					throw new IllegalArgumentException (bit + " is not binary.  Cannot export.");
				}
			}
		}
	}