public static void main(String[] args) {
		// TODO Auto-generated method stub
		Anagrams sample = new Anagrams();
		String[] strs = { "tea", "and", "ate", "eat", "den" };
		for (String s : sample.anagrams(strs)) {
			System.out.println(s);
		}

	}