public void GenerateTiles(){
		for(int l=0;l<WrittenBlockID.length;l++){
			for(int h=0;h<WrittenBlockID[l].length;h++){
				for(int w=0;w<WrittenBlockID[l][h].length;w++){
					if(l==0){
						WrittenBlockID[l][h][w]=1;					
					}else{
						if(h==0){
							WrittenBlockID[l][h][w]=2;
						}else if(h==WrittenWorldH-1){
							WrittenBlockID[l][h][w]=2;
						}else if(w==0){
							WrittenBlockID[l][h][w]=2;
						}else if(w==WrittenWorldW-1){
							WrittenBlockID[l][h][w]=2;
						}else{
							WrittenBlockID[l][h][w]=0;
						}							
					}
				}
			}
		}
	}