public void write(){
		try{
			Formatter f = new Formatter(path);
			for(int i = 0; i < tiles.length; i += 15){
				f.format("%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s\n", tiles[i].id, tiles[i + 1].id, tiles[i + 2].id, tiles[i + 3].id, tiles[i + 4].id, tiles[i + 5].id, tiles[i + 6].id, tiles[i + 7].id, tiles[i + 8].id, tiles[i + 9].id, tiles[i + 10].id, tiles[i + 11].id, tiles[i + 12].id, tiles[i + 13].id, tiles[i + 14].id);
			}
			f.close();
		}catch(FileNotFoundException e){
			e.printStackTrace();
		}
	}