public static void print(final int w, final int h, final String b) {
		if (b != null) {
			for (int i = 0; i < h; i++) {
				System.out.println(b.substring(i * w, i * w + w));
			}
		} else {
			System.out.println(b);
		}
		System.out.println();
	}