public static void main(String[] args) {
		String d = "BW";
		String[] sc = {"AAAAAAAA",
				 "ABWBWBWA",
				 "AWBWBWBA",
				 "ABWBWBWA",
				 "AWBWBWBA",
				 "AAAAAAAA"};
		System.out.println(new ImageDithering().count(d, sc));
	}