public static void main(String[] args) {
		// TODO Auto-generated method stub
		PalindromePartitioning sample = new PalindromePartitioning();
		String s = "aaaa";

		sample.partition(s);
		for (ArrayList<String> strings : sample.result) {
			for (String str : strings) {
				System.out.print(str + " ");
			}
			System.out.println();
		}
	}