public static String byteArrayToString(final byte[] state) {
		final int numOfTiles = state.length;
		final StringBuilder builder = new StringBuilder();
		for (int i = 0; i < numOfTiles; ++i) {
			if (i != 0) {
				builder.append(",");
			}
			builder.append(state[i]);
		}
		return builder.toString();
	}