Set<String> getPalindromes(String s){
		Set<String> set = new HashSet<String>();
		for (int i = 0; i < s.length(); i++) {
			int left = i;
			int right = i;
			while (left>=0 && right<s.length() && s.charAt(left)==s.charAt(right)){
				set.add(s.substring(left,right+1));
				left--;
				right++;
			}
			
			left = i;
			right = i+1;
			while (left>=0 && right<s.length() && s.charAt(left)==s.charAt(right)){
				set.add(s.substring(left,right+1));
				left--;
				right++;
			}
		}
		return set;
	}