public static void printlnPattern(boolean[] pattern){
		System.out.print("|");
		for (int i = 0; i < pattern.length; i++){
			if (pattern[i]) System.out.print(""+1);
			else System.out.print(""+0);
			System.out.print("|");
		}
		System.out.println("");
	}